package com.mars.module.admin.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.*;
import cn.afterturn.easypoi.excel.annotation.Excel;
import com.mars.module.system.entity.BaseEntity;

/**
 * 教师对象 stu_teacher
 *
 * @author mars
 * @date 2024-03-17
 */

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "教师对象")
@Builder
@Accessors(chain = true)
@TableName("stu_teacher")
public class StuTeacher extends BaseEntity {

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "id")
    private Long id;
    /**
     * 名字
     */
    @Excel(name = "名字")
    @ApiModelProperty(value = "名字")
    private String name;
    /**
     * 年龄
     */
    @Excel(name = "年龄")
    @ApiModelProperty(value = "年龄")
    private String age;
    /**
     * 爱好
     */
    @Excel(name = "爱好")
    @ApiModelProperty(value = "爱好")
    private String hobby;
    /**
     * 所属班级
     */
    @Excel(name = "所属班级")
    @ApiModelProperty(value = "所属班级")
    private String belongsToTheClass;
    /**
     * 简介
     */
    @Excel(name = "简介")
    @ApiModelProperty(value = "简介")
    private String introductionToThe;
}
